<form class="form-horizontal form-bordered" action="add" method="post">
	<div class="form-group">
		<label class="col-sm-2 control-label">Tên chuyên mục</label>
		<div class="col-sm-5">
			<input type="text" placeholder="Nhập tên chuyên mục" class="form-control" name="data[name]"/>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label">Chủ đề</label>
		<div class="col-sm-5">
			<select class="form-control input-sm mb15" name="data[topicId]">
				<?php foreach($topics as $item){?>
				<option value="<?php echo $item['Topic']['id']?>"><?php echo $item['Topic']['name']?></option>
				<?php } ?>
			</select>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label"></label>
		<div class="col-sm-10">
			<button class="btn btn-default" type="reset">Reset</button>
			<button class="btn btn-success">Submit</button>
		</div>
	</div>
</form>
